{"componentChunkName":"component---src-templates-blog-template-js","path":"/blog/installing-docker-on-ubuntu-in-wsl2","result":{"data":{"markdownRemark":{"html":"<p>You'll need <a href=\"https://docs.microsoft.com/en-us/windows/wsl/install-win10\" target=\"_blank\" rel=\"noopener noreferrer\">WSL2</a> with ubuntu 2004. Getting Terminal as per the linked page works well.</p>\n<p>Then <a href=\"https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-20-04\" target=\"_blank\" rel=\"noopener noreferrer\">install Docker on the WSL Ubuntu environment</a> but test the install differently.\nInstead of using <code>sudo systemctl start docker</code> use <code>sudo /etc/init.d/docker start</code>, as (<em>of right now we do not have systemd in WSL 2.</em>)[https://github.com/MicrosoftDocs/WSL/issues/457]</p>","frontmatter":{"date":"October 10, 2020","slug":"/blog/installing-docker-on-ubuntu-in-wsl2","title":"Installing Docker On Ubuntu In WSL2"}}},"pageContext":{"slug":"/blog/installing-docker-on-ubuntu-in-wsl2"}},"staticQueryHashes":["3649515864"]}